package com.item.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.item.dao.model.Admin;
import com.item.dao.model.AdminExample;

public interface AdminMapper {
	int countByExample(AdminExample example);

	int deleteByExample(AdminExample example);

	int deleteByPrimaryKey(Integer id);

	int insert(Admin record);

	int insertSelective(Admin record);

	List<Admin> selectByExample(AdminExample example);

	Admin selectByPrimaryKey(Integer id);

	int updateByExampleSelective(@Param("record") Admin record,@Param("example") AdminExample example);

	int updateByExample(@Param("record") Admin record,@Param("example") AdminExample example);

	int updateByPrimaryKeySelective(Admin record);

	int updateByPrimaryKey(Admin record);

}
